INCLUDE = -I. 
CFLAGS = -g -Wall -DRTE_CACHE_LINE_SIZE=64 -DRTE_FORCE_INTRINSICS -lpthread -shared -fPIC 
CC = gcc
RM = /bin/rm -f

TARGET = librtering.so
OBJS = rte_ring_simple.o
SRCS = rte_ring_simple.c

all:$(OBJS)
	${CC} ${CFLAGS} ${INCLUDE} -o ${TARGET} ${OBJS}

$(OBJS):$(SRCS)
	${CC} ${CFLAGS} ${INCLUDE} -c $^

clean:
	${RM} *.o ${TARGET}

